System, method, and computer readable medium for website rendering

ABSTRACT

Disclosed herein is novel system and method for website rendering. In exemplary embodiments, the system and method comprise downloading a rendering engine onto a client device. The rendering engine downloads website specific data and website template data. The rendering engine merges the website specific data and website template data. The rending engine obtains website assets identified by the merged data, and a template .css file. The rendering engine renders a website utilizing the merged data, the assets and the .css file.

FIELD

The present invention relates website rendering. More particularly, the present invention relates to efficient client-side website rendering.

BACKGROUND

Traditionally websites are created and hosted on website hosting servers residing on the internet. The servers are remote from the client devices, such as personal computers (PCs) and mobile computing device, that browse the internet to download and display the website content. The website content and code typically reside on, and are managed by, a single server on the internet.

Traditional website hosting experiences certain inherent problems which in the past have not been overcome. Those problems include, i) slow website service when the hosting server is under high demand, ii) website service interruption when the website hosting server is down, and iii) susceptibility to being attacked, for example by malicious distributed denial-of-service (DDoS) attacks wherein the hosting server is flooded with internet traffic. These problems all stem from the fact that the website content and code are stored on a single centralized server.

What is needed is a system and method for rendering websites that remedy the problems inherent in the traditional server-based website hosting architecture. More specifically, what is needed is a system and method for rendering websites that don't depend on a single server for access and rendering, and therefore are not slowed by high demand, are not shut down when the hosting server is down, and are not susceptible to malicious attacks such as distributed denial-of-service (DDoS) attacks. Additionally, what is needed are a system and method for rendering websites that are more cost effective by making use of ever-increasing client device computing power, rather than relying on the computing power of costly website hosting services.

SUMMARY

In exemplary embodiments of the present invention, efficient and effective systems and methods for website rendering are provided. In exemplary embodiments the data required for website rendering is made available to client devices by way of a distributed content delivery network (CDN), along with a rendering engine that is downloaded to a client device. Moreover, a website is rendered by efficiently merging website specific data embodied in a website configuration file (as described in more detail below), with website template data embodied in a template configuration file (as described in more detail below).

An exemplary method according to the present invention comprises executing a rendering engine application on a client device. A website configuration file is retrieved from the internet. An associated website template is determined from the website configuration file. Also, a template configuration file associated with the website template is retrieved from the internet. A merged configuration file is created that comprises both website configuration file data and template configuration file data. A website is rendered on a client device based upon the merged configuration file.

An exemplary system according to the present invention comprises a cloud-based storage. The cloud-based storage comprises a plurality of template stores, each comprising a template asset store, and a template configuration file. The cloud-based storage also comprises a plurality of website stores, each comprising a website asset store and a website configuration file.

The cloud-based storage further comprises a rendering engine configured to be downloaded to a remote client device. The rendering engine is also configured to create a merged configuration file comprising template configuration file data and website configuration file data, and to render a website based upon the merged configuration file.

Another exemplary embodiment of the present invention comprises a non-transitory computer readable medium storing a program that, when executed by a computer processor, causes the computer processor to perform a method for rendering a website. When the program is executed, a rendering engine application runs on a client device. A website configuration file is retrieved from the internet. An associated website template is determined from the website configuration file. Also, a template configuration file associated with the website template is retrieved from the internet. A merged configuration file is created that comprises both website configuration file data and template configuration file data. A website is rendered on a client device based upon the merged configuration file.

BRIEF DESCRIPTION OF DRAWINGS

These and other features, aspects, and advantages of the present invention will become better understood with regard to the following descriptions, claims, and accompanying drawings. It is to be noted, however, that the drawings illustrate only several embodiments of the invention and are therefore not to be considered limiting of the invention's scope as it can admit to other equally effective embodiments.

FIG. 1A is a block diagram of a system for website rendering according to an exemplary embodiment of the present invention.

FIG. 1B illustrates the file structure of digital elements implemented for use according to exemplary embodiments of the present invention.

FIG. 2 is a flowchart illustrating a method according to an exemplary embodiment of the present invention.

FIG. 3 is a block diagram illustrating a non-transitory computer readable medium storing a program that, when executed by a computer processor, causes the computer processor to perform a method for website rendering according to an exemplary embodiment of the present invention.

DETAILED DESCRIPTION

So that the manner in which the features and advantages of embodiments of methods and systems of the present invention may be understood in more detail, a more particular description of the present invention briefly summarized above may be had by reference to certain embodiments thereof that are illustrated in the appended drawings, which form a part of this specification. The drawings illustrate only certain embodiments of the present invention and are, therefore, not to be considered limiting of the scope of the present invention which includes other useful and effective embodiments as well.

The systems according to one exemplary embodiment of the present invention will be described generally, and further detail will be provided below.

FIG. 1A is a block diagram of a system for website rendering according to an exemplary embodiment of the present invention. In the exemplary embodiment, system 100 comprises cloud based content distribution network (CDN) 102. CDN 102 serves digital files to client devices such as client device 108 which may be, for example, a personal computer (PC) or a mobile computing device such as a smartphone or a tablet computer. In exemplary embodiments, client device 108 browses the internet with the objective of visiting a website associated with one of the plurality of websites whose specific content is included in one of website stores 116 ₁ through 116 n, as will be described further below.

In this example, CDN 102 holds and serves a plurality of website template stores (i.e. digital files) 126 ₁ through 126 n. The content of website template stores 126 ₁ through 126 n are digital files that can be used to render generic template websites designed for a variety of different categories, such as home improvement services on the one hand and beauty and personal care services on the other hand. Data defining certain aspects of respective template websites are contained in respective template configuration files 130 ₁ through 130 n. Assets such as fonts and images required for the respective template websites are contained in respective asset files 134 ₁ through 134 n. Cascade style sheets (.css files) that are used to render websites according to respective templates are contained in files 138 ₁ through 138 n..

CDN 102 also holds and serves website specific stores 116 ₁ through 116 n. The content of website stores 116 through 116 n are digital files associated with specific internet websites. Data defining certain aspects of respective specific websites, such as, for example address information, “about” content, and a significant amount of other business specific information, are contained in respective website configuration files 142 ₁ through 142 n. Assets such as fonts and images required for the respective websites are contained in respective asset files 146 ₁ through 146 n.

When data and files of from a website store, for example website store 116 ₁, are integrated with data and files from a template store, such as template store 126 ₁, a merged data file and an associated collection of assets is provided that will render a specific website based upon the template of template store 126 ₁, but with specific business information and visual assets from website store 116 ₁.

CDN 102 also holds and serves rendering engine 110. As will be explained in more detail below, when client 108 searches for one of the websites of website stores 116 ₁ through 116 n, rendering engine 110 is downloaded to client 108. Engine 108 retrieves the website configuration file associated with the website of interest, for example file 142 ₁. Website configuration file 142 ₁ includes data indicating which template website it is to be integrated with.

In this exemplary embodiment, engine 110 then retrieves the indicted template configuration file, for example template configuration file 130 ₁. Engine 110 then creates a merged configuration file 148. Merged configuration file 148 comprises the template configuration file, for example file 130 ₁, but with any information that is different from the website configuration file, for example file 142 ₁, overwriting the corresponding information that was in the template configuration file.

Merged configuration file 148 therefore also indicates which template assets from asset store 134 ₁ are required to render the website, and which website specific assets from asset store 146 ₁ are required to render the website. Engine 110 retrieves those assets. Additionally, engine 110 retrieves the .css file associated with the applicable website template, in this example .css file 138 ₁. Engine 110 renders the website of interest, indicated by render operation 144, using the template .css file, the combined assets, and the merged configuration file as described above.

Now, turning to a more detailed description of systems and methods according the present invention, FIG. 1A is a block diagram of an exemplary embodiment of a system 100 consistent with the present invention. The significant digital elements that are part of system 100 reside in cloud-based content delivery network (CDN) 102. In an exemplary embodiment, CDN 102 may be Amazon CloudFront CDN. An exemplary file arrangement of the content of CDN 102 is depicted in the file structure 104 shown in FIG. 1B. More specifically, cloud based CDN 102 of FIG. 1A corresponds to Cloud Bucket 106 of FIG. 1B.

FIG. 1A also illustrates client device 108. In exemplary embodiments, client device 108 may be a personal computer (PC), or a mobile computing device such as a smartphone or a tablet computer. According to implementations and uses of exemplary embodiments of the present invention, client device 108 browses the internet to find and display websites.

According to embodiments of the present invention, a website of interest that is configured to be rendered using the methods and systems consistent with the present invention has a URL that points to engine application 110 that is served and made available by CDN 102. Engine 110 of FIG. 1A is found in folder 112 in file structure 104 of FIG. 1B. According to certain embodiments, the URL of the website can be pointed to engine 110 by a canonical name (CNAME) record implemented for the URL. According to alternate embodiments, the URL of the website can be pointed to engine 110 by an address record (A-Record) implemented for the URL It will be recognized that both a CNAME and an A-Record are respective types of Domain Name System (DNS) entries.

In response to client device 108 being led to engine 110, CDN 102 facilitates downloading engine 110 to client device 108. According to preferred embodiments, engine 110 executes on client device 108. Engine 110 parses the URL of the website of interest and communicates with CDN 102 to locate and retrieve the website configuration file associated with that website, for example website configuration file 142 ₁. Website configuration files 142 ₁ through 142 n are located in folders 150 ₁ through 150 n in file structure 104. In exemplary embodiments, website configuration files 150 ₁ through 150 n may be formatted as JavaScript Object Notations (.json) files.

Website configuration file 142 ₁ contains data identifying which website template is to be utilized to render the website. Based on that data, engine 110 retrieves the templated configuration file, for example template configuration file 130 ₁, for the identified template. Template configuration file 130 ₁ is located in folder 152 in file structure 104. The remaining template configuration files are nested within template files 154 ₂ through 154 n similarly. In exemplary embodiments, template configuration files 130 ₁ through 130 n may be formatted as JavaScript Object Notations (.json) files.

Engine 110 creates a merged configuration file 148 by overwriting information in template configuration file 130 ₁ with corresponding information from website configuration file 142 ₁. For example, template configuration file 130 ₁ will at first have placeholder information for a business address. Website configuration file 142 ₁ will have the actual business address for the business represented by the website to be rendered. The placeholder business address will be overwritten with the actual business address when creating merged configuration file 148.

Similarly, template configuration file 130 ₁ has information identifying placeholder assets that are contained in template asset store 134 ₁, for example, a default placeholder “hero” image that appears in large format at the top of a home page. Website configuration file 142 ₁ may or may not identify a different hero image which, if identified, will be in asset store 146 ₁. If website configuration file 142 ₁ identifies a different image, that identification information will overwrite the default image identification in merged configuration file 148.

In exemplary embodiments, after creating merged configuration file 148, engine 110 can now identify and download from template asset store 134 ₁ those template assets identified in merged configuration file 148. Similarly, engine 110 can now identify and download from website specific asset store 146 ₁ those website specific assets identified in merged configuration file 148. Assets of template asset store 134 ₁ are found in folder 156 of file structure 104. The remaining template assets are nested within template files 154 ₂ through 154 n similarly. Additionally, website specific assets 146 ₁ through 146 n can be found in folders 158 ₁ through 158 n in file structure 104.

Engine 110 also retrieves the .css file associated with the template website that is the basis for the website to be rendered. For example, engine 110 retrieves template .css files 138 ₁. Template .css file 138 ₁ is found in folder 160 of file structure 104. The remaining template .css files are nested within template files 154 ₂ through 154 n similarly. Engine 110 can now render (144) the desired website for the client device utilizing template .css file 138 ₁ , assets from both template asset store 134 ₁ and website specific asset store 146 ₁ , and merged configuration file 148.

Turning now to FIG. 2, FIG. 2 is a flowchart illustrating a method of operation consistent with the foregoing description of exemplary embodiments of the present invention. Specifically, at step 202, a client device 108 (of FIG. 1A) seeks a URL that points to engine 110 (of FIG. 1A) residing in CDN 102 (of FIG. 1A). At step 204 engine 110 is downloaded to client device 108.

At step 206 engine 110 retrieves the website configuration file associated with the website of interest. At step 208 engine 110 retrieves the template configuration file associated with the template that is identified in the website configuration file. At step 210 engine 110 creates a merged configuration file.

At step 112, engine 110 downloads the website specific and template assets identified by the merged configuration file, and the template .css file. At step 214 engine 110 renders the website on the client device 108.

Turning for FIG. 3, FIG. 3 is a block diagram illustrating a non-transitory computer readable medium storing a program that, when executed by a computer processor, causes the computer processor to perform a method for website rendering consistent with embodiments of the present invention. More specifically, FIG. 3 illustrated processor 303, memory 306, computer instructions 309, computer readable storage medium 312, and computer readable digital signal 315.

In an exemplary embodiment of the present invention processor 303 is a computer processor residing in client 108 (of FIG. 1A). Computer instructions 309 are the computer instruction that, when executed by processor 303, executing a method for website rendering consistent with the embodiment show in FIG. 2. Computer instructions 309 reside in memory 306, which is computer memory that resides in client device 108. Computer instructions 309 may be read from computer readable storage medium 312 or computer readable digital signal 315 by processor 303 and stored by processor 303 permanently, semi-permanently, or temporarily, in memory 306. In this exemplary embodiment, computer readable storage medium 312 comprises a flash memory stick.

Consequently, what is provided by exemplary systems and methods according to the present invention is a system and method for rendering websites that address the problems inherent in the traditional server-based website hosting architecture. In particular, a system and method are provided for rendering websites that do not depend on a single server for access and rendering, and therefore are not slowed by high demand, are not shut down when the hosting server is down, and are not susceptible to malicious attacks such as distributed denial-of-service (DDoS) attacks. Also, a system and method for rendering websites are provided that are more cost effective by making use of ever-increasing client device computing power, rather than relying on the computing power of costly website hosting services.

Some portions of this description describe the embodiments of the invention in terms of algorithms. These operations, while described functionally, computationally, or logically, are understood to be implemented by computer programs or equivalent electrical circuits, micro-code, or the like. The described operations may be embodied in software, firmware, hardware, or any combinations thereof.

Any of the steps, operations, or processes described herein may be performed or implemented with one or more hardware or software modules, alone or in combination with other devices. In one embodiment, a software module is implemented with a computer program product comprising a computer-readable medium containing computer program code, which can be executed by a computer processor for performing any or all of the steps, operations, or processes described.

Embodiments of the invention may also relate to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, and/or it may comprise a general-purpose computing device selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a non-transitory, tangible computer readable storage medium, or any type of media suitable for storing electronic instructions, which may be coupled to a computer system bus. Furthermore, any computing systems referred to herein may include a single processor or may be implemented with architectures employing multiple processor designs for increased computing capability.

Embodiments of the invention may also relate to a product that is produced by a computing process described herein. Such a product may comprise information resulting from a computing process, where the information is stored on a non-transitory, tangible computer readable storage medium and may include any embodiment of a computer program product or other data combination described herein.

The various embodiments can be further implemented in a wide variety of operating environments, which in some cases can include one or more user computers or computing devices which can be used to operate any of a number of applications. User or client devices can include any of a number of general purpose personal computers, such as desktop or laptop computers running a standard operating system, as well as cellular, wireless and handheld devices running mobile software and capable of supporting a number of networking and messaging protocols. Such a system can also include a number of workstations running any of a variety of commercially available operating systems and other known applications for purposes such as database management. These devices can also include other electronic devices, such as dummy terminals, virtual terminals, thin-clients, and other devices capable of communicating via a network.

Embodiments can utilize at least one network that would be familiar to those skilled in the art for supporting communications using any of a variety of commercially available protocols, such as TCP/IP, FTP, UPnP, NFS, and CIFS. The network can be, for example, a local area network, a wide-area network, a virtual private network, the Internet, an intranet, an extranet, a public switched telephone network, an infrared network, a wireless network, or any combination thereof.

In embodiments utilizing a Web server, the Web server can run any of a variety of server or mid-tier applications, including HTTP servers, FTP servers, CGI servers, data servers, Java servers and business application servers. The server(s) may also be capable of executing programs or scripts in response requests from user devices, such as by executing one or more Web applications that may be implemented as one or more scripts or programs written in any programming language, such as Java®, C, C# or C++ or any scripting language, such as Perl, Python, or TCL, as well as combinations thereof. The server(s) may also include database servers, including without limitation those commercially available from Oracle®, Microsoft®, and IBM®.

The environment can include a variety of data stores and other memory and storage media as discussed above. These can reside in a variety of locations, such as on a storage medium local to (and/or resident in) one or more of the computers or remote from any or all of the computers across the network. In a particular set of embodiments, the information may reside in a storage-area network (SAN) familiar to those skilled in the art. Similarly, any necessary files for performing the functions attributed to the computers, servers or other network devices may be stored locally and/or remotely, as appropriate. Where a system includes computerized devices, each such device can include hardware elements that may be electrically coupled via a bus, the elements including, for example, at least one central processing unit (CPU), at least one input device (e.g., a mouse, keyboard, controller, touch-sensitive display element, or keypad) and at least one output device (e.g., a display screen, a display device, printer, or speaker). Such a system may also include one or more storage devices, such as disk drives, optical storage devices and solid-state storage devices such as random access memory (RAM) or read-only memory (ROM), as well as removable media devices, memory cards, flash cards, etc.

Such devices can also include a computer-readable storage media reader, a communications device (e.g., a modem, a network card (wireless or wired), an infrared communication device) and working memory as described above. The computer-readable storage media reader can be connected with, or configured to receive, a computer-readable storage medium representing remote, local, fixed, and/or removable storage devices as well as storage media for temporarily and/or more permanently containing, storing, transmitting, and retrieving computer-readable information. The system and various devices also can include a number of software applications, modules, services, or other elements located within at least one working memory device, including an operating system and application programs such as a client application or Web browser. It should be appreciated that alternate embodiments may have numerous variations from that described above. For example, customized hardware might also be used and/or particular elements might be implemented in hardware, software (including portable software, such as applets, APIs, scripts, and the like), or both. Further, connection to other computing devices such as network input/output devices may be employed.

Storage media and other non-transitory computer readable media for containing code, or portions of code, can include any appropriate media known or used in the art, such as but not limited to volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, including RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a system device. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various embodiments and that many modifications and variations are possible.

The foregoing description of the embodiments of the invention has been presented for the purpose of illustration; it is not intended to be exhaustive or to limit the invention to the precise forms disclosed. The description and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. The language used in the specification has been principally selected for readability and instructional purposes. It is therefore intended that the scope of the invention be limited not by this detailed description and drawings, but rather by any claims that issue based on this application. It will, however, be evident that various modifications and changes may be made thereunto without departing from the broader spirit and scope of the invention as set forth in the claims. 

1. A method for website rendering comprising the steps of: executing a rendering engine application on a client device; retrieving from an internet a website configuration file, the website configuration file including data identifying a website template, the website template having an associated template configuration file different from the website configuration file; retrieving the template configuration file associated with the website template; creating locally on the client device, from a combination of the website configuration file and the template configuration file each being stored independently and locally on the client device, a merged configuration file comprising both website configuration file data and template configuration file data; downloading website webpage digital file assets identified by the website configuration file data; downloading template webpage digital file assets identified by the template configuration file data; and rendering a website on the client device based upon the merged configuration file.
 2. The method of claim 1, further comprising obtaining the rendering engine from the internet by pointing a URL to a cloud location of the rendering engine using an address record (A-Record).
 3. (canceled)
 4. The method of claim 1, wherein the rendering engine application, the website configuration file, and the template configuration file are made available by cloud-based content delivery network (CDN).
 5. The method of claim 1, wherein the website configuration file, the template configuration file and the merged configuration file are in JavaScript® Object Notations (.j son) format.
 6. The method of claim 1, further comprising the step of downloading the rendering engine to a mobile computing device. 7-10. (canceled)
 11. A non-transitory computer readable medium storing a program that, when executed by a computer processor, causes the computer processor to perform a method for website rendering comprising the steps of: executing a rendering engine application on a client device; retrieving from an internet a website configuration file, the website configuration file including data identifying a website template, the website template having an associated template configuration file different from the website configuration file; retrieving the template configuration file associated with the website template; creating locally on the client device, from a combination of the website configuration file and the template configuration file each being stored independently and locally on the client device, a merged configuration file comprising both website configuration file data and template configuration file data; downloading website webpage digital file assets identified by the website configuration file data; downloading template webpage digital file assets identified by the template configuration file data; and rendering a website on the client device based upon the merged configuration file.
 12. The non-transitory computer readable medium of claim 11, the method further comprising obtaining the rending engine from the internet by pointing a URL to a cloud location of the rendering engine using an address record (A-Record).
 13. (canceled)
 14. The non-transitory computer readable medium of claim 11, the method further comprising making available by a cloud-based content delivery network (CDN) the rendering engine application, the website configuration file, and the template configuration file.
 15. The non-transitory computer readable medium of claim 11, wherein the website configuration file, the template configuration file and the merged configuration file are in JavaScript® Object Notations (.j son) format.
 16. The non-transitory computer readable medium of claim 11, the method further comprising the step of downloading the rendering engine to a mobile computing device. 